package com.lxh.builder;

import java.util.ArrayList;

public class BenzBuilder extends CarBuilder {

    private CarModel carModel = new CarModel();

    @Override
    public void setSequence() {
        ArrayList<String> sequence = new ArrayList<>();
        sequence.add("启动");
        sequence.add("按喇叭");
        sequence.add("停止");
        this.carModel.setSequence(sequence);
    }

    @Override
    public CarModel getCarModel() {
        return this.carModel;
    }
}
